package com.williamoneil.charts.client;

import java.util.Date;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.williamoneil.charts.shared.ChartResponse;
import com.williamoneil.charts.shared.PeriodicityType;
import com.williamoneil.charts.shared.SymbolResponse;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("chart")
public interface ChartService extends RemoteService {
	SymbolResponse getSymbol(String symbol);
	
	ChartResponse getChartData(String symbol, PeriodicityType periodicity, int numNodes, Date endDt);
}
